﻿using JinfuyuanProject.Entity;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using JinfuyuanProject.Entity.ViewModels;

namespace JinfuyuanProject.Repository.Interface
{
    public interface IStaffRepository
    {
        IQueryable<Staff> GetList();

        Staff GetModel(int Id);

        bool Delete(Staff staff);

        int Insert(Staff staff);

        bool Update(Staff staff);
        List<Role> GetAreaChildNode();
        IQueryable<StaffVM> StaffAPI();
        Task<Staff> GetEmployeeByIdAsync(int employeeId);
    }
}
